package com.zbkj.crmeb.chant.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

@Data
@Accessors(chain = true)
@TableName("eb_channel_merchant_purchase")
@ApiModel("ChannelMerchantPurchase对象")
public class ChannelMerchantPurchase implements Serializable {
    private static final long serialVersionUID = 1L;

    @ApiModelProperty("主键")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty("购买的商户id")
    private Integer merId;

    @ApiModelProperty("订单id")
    private String orderId;

    @ApiModelProperty("外部支付订单号")
    private String outOrderId;

    @ApiModelProperty("商品信息")
    private String productInfo;

    @ApiModelProperty("产品类型")
    private Integer productType;

    @ApiModelProperty("数量")
    private Integer number;

    @ApiModelProperty("单价")
    private BigDecimal price;

    @ApiModelProperty("零售价")
    private BigDecimal retailPrice;

    @ApiModelProperty("支付状态")
    private Boolean payStatus;

    @ApiModelProperty("支付时间")
    private Date payTime;

    @ApiModelProperty("创建时间")
    private Date createTime;

    @ApiModelProperty("更新时间")
    private Date updateTime;
}
